{"ast":null,"code":"import LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport * as React from 'react';\nimport Button from '../button';\nconst Operation = _ref => {\n  let {\n    disabled,\n    moveToLeft,\n    moveToRight,\n    leftArrowText = '',\n    rightArrowText = '',\n    leftActive,\n    rightActive,\n    className,\n    style,\n    direction,\n    oneWay\n  } = _ref;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: className,\n    style: style\n  }, /*#__PURE__*/React.createElement(Button, {\n    type: \"primary\",\n    size: \"small\",\n    disabled: disabled || !rightActive,\n    onClick: moveToRight,\n    icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null)\n  }, rightArrowText), !oneWay && /*#__PURE__*/React.createElement(Button, {\n    type: \"primary\",\n    size: \"small\",\n    disabled: disabled || !leftActive,\n    onClick: moveToLeft,\n    icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n  }, leftArrowText));\n};\nexport default Operation;","map":{"version":3,"names":["LeftOutlined","RightOutlined","React","Button","Operation","_ref","disabled","moveToLeft","moveToRight","leftArrowText","rightArrowText","leftActive","rightActive","className","style","direction","oneWay","createElement","type","size","onClick","icon"],"sources":["/data/messenger.client/node_modules/antd/es/transfer/operation.js"],"sourcesContent":["import LeftOutlined from \"@ant-design/icons/es/icons/LeftOutlined\";\nimport RightOutlined from \"@ant-design/icons/es/icons/RightOutlined\";\nimport * as React from 'react';\nimport Button from '../button';\nconst Operation = _ref => {\n  let {\n    disabled,\n    moveToLeft,\n    moveToRight,\n    leftArrowText = '',\n    rightArrowText = '',\n    leftActive,\n    rightActive,\n    className,\n    style,\n    direction,\n    oneWay\n  } = _ref;\n  return /*#__PURE__*/React.createElement(\"div\", {\n    className: className,\n    style: style\n  }, /*#__PURE__*/React.createElement(Button, {\n    type: \"primary\",\n    size: \"small\",\n    disabled: disabled || !rightActive,\n    onClick: moveToRight,\n    icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(RightOutlined, null) : /*#__PURE__*/React.createElement(LeftOutlined, null)\n  }, rightArrowText), !oneWay && /*#__PURE__*/React.createElement(Button, {\n    type: \"primary\",\n    size: \"small\",\n    disabled: disabled || !leftActive,\n    onClick: moveToLeft,\n    icon: direction !== 'rtl' ? /*#__PURE__*/React.createElement(LeftOutlined, null) : /*#__PURE__*/React.createElement(RightOutlined, null)\n  }, leftArrowText));\n};\nexport default Operation;"],"mappings":"AAAA,OAAOA,YAAY,MAAM,yCAAyC;AAClE,OAAOC,aAAa,MAAM,0CAA0C;AACpE,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,MAAM,MAAM,WAAW;AAC9B,MAAMC,SAAS,GAAGC,IAAI,IAAI;EACxB,IAAI;IACFC,QAAQ;IACRC,UAAU;IACVC,WAAW;IACXC,aAAa,GAAG,EAAE;IAClBC,cAAc,GAAG,EAAE;IACnBC,UAAU;IACVC,WAAW;IACXC,SAAS;IACTC,KAAK;IACLC,SAAS;IACTC;EACF,CAAC,GAAGX,IAAI;EACR,OAAO,aAAaH,KAAK,CAACe,aAAa,CAAC,KAAK,EAAE;IAC7CJ,SAAS,EAAEA,SAAS;IACpBC,KAAK,EAAEA;EACT,CAAC,EAAE,aAAaZ,KAAK,CAACe,aAAa,CAACd,MAAM,EAAE;IAC1Ce,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,OAAO;IACbb,QAAQ,EAAEA,QAAQ,IAAI,CAACM,WAAW;IAClCQ,OAAO,EAAEZ,WAAW;IACpBa,IAAI,EAAEN,SAAS,KAAK,KAAK,GAAG,aAAab,KAAK,CAACe,aAAa,CAAChB,aAAa,EAAE,IAAI,CAAC,GAAG,aAAaC,KAAK,CAACe,aAAa,CAACjB,YAAY,EAAE,IAAI;EACzI,CAAC,EAAEU,cAAc,CAAC,EAAE,CAACM,MAAM,IAAI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